
	<div id = "log">
        <notempty name="self">
		<div id = "logtitle" class = "title" style="">
			<a id="create_event" href="{:U('/event/create')}"><p>发布活动</p></a>
		</div>
        <div id="logcontent" style="height:auto;">
          <div style="margin:20px auto; position:relative;">
            <a href="{:NoticeUrl::getAccount($self)}" style="cursor:pointer;">
            <img src="__PUBLIC__/upload/photo/{$self.photo}" style="width:75px; height:75px;"/>
            </a>
            <div style="position:absolute;left:80px; top:-10px;">
            <a href="{:NoticeUrl::getAccount($self)}" style="cursor:pointer;"><br/>
            {$self.name}
            </a>
            <div style="color:#444">{$self.signature}</div>
            </div>
          </div>
        </div>
        <else/>
		<div id = "logcontent" class = "undertitle">
			<form id = "login" action="{:U('/account/login')}" method="post">
				<div class = "inputdiv">
				<label class = "label">用户名</label>
				<input name="username" type = "text" class = "input" id = "username"/><br/>
				</div>
				<div class = "inputdiv">
					<label class = "label">密码</label>
					<input name="password" type = "password" class = "input" id = "password"/>
				</div>
				<input type="submit" name="submit" id = "denglu" value="登录"/>
				
			</form>
			<p style="margin-left:-30px;">还没有账号？<a href="{:U('account/register')}">点此注册</a></p>
			
		</div>
		</notempty>
</div>